.container-edit {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container-edit h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-weight: 500;
}

.section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #3498db;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    font-size: 1.4rem;
}

.upload-area {
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    height: 205px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: #3498db;
    background-color: #f8fafc;
}

.upload-area.active {
    border-color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.05);
}

.upload-icon {
    font-size: 48px;
    color: #bdc3c7;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.upload-area:hover .upload-icon {
    color: #3498db;
}

.upload-text {
    color: #7f8c8d;
    margin-bottom: 5px;
}

.upload-hint {
    font-size: 0.9rem;
    color: #95a5a6;
}

.preview-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    transition: all 0.3s;
}

.main-preview {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: none;
    animation: fadeIn 0.5s;
    z-index: 100;
    position: absolute;
    top: 0px;
    left: 0px;
    object-fit: contain;
    background-color: #eeeeee;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s;
}

input[type="text"]:focus,
textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.thumbnail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.thumbnail-item {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-thumbnail {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(231, 76, 60, 0.8);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.thumbnail-item:hover .remove-thumbnail {
    opacity: 1;
}

.counter {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-align: right;
    margin-top: 5px;
}

.counter.warning {
    color: #e74c3c;
}

.hidden {
    display: none;
}